<div class="row">
    <div class="col-xs-12">
        <div class="panel panel-midnightblue">
            <div class="panel-body">
                <form action="" class="form-horizontal row-border"  data-validate="parsley" id="validate-form">
                	<div class="row">
                		 <div class="form-group">
                    		<label class="col-sm-3 control-label" >课程名称:</label>
                    		<div class="col-sm-6">
                    			<input type="text"  value="{$model.name}"  placeholder="课程名称" data-minlength="2"   required="required"  name="name" class="form-control" id="name" />
                    		</div>
                   		 </div>
                   		 <div class="form-group">
                   		 	<label class="col-sm-3 control-label">课程类型</label>
                   		 	<div class="col-sm-6">
                   		 		<select class="form-control" name="type">
                   		 			<option  {eq name="$model.type" value="1"}selected{/eq} value="1">私教课</option>
                   		 			<!--<option  {eq name="$model.type" value="2"}selected{/eq} value="2">团体课</option>-->
                   		 		</select>
                   		 	</div>
                   		 </div>
                   		<div class="form-group">
                    		<label class="col-sm-3 control-label" >课程价格:</label>
                    		<div class="col-sm-6">
                    			<input type="text"  value="{$model.price}" placeholder="课程价格"   required="required"   name="price" data-type = "money" class="form-control" id="price" />
                    		</div>
                   		</div>
                   		 
                   		  <div class="form-group">
                   		  	<label class="col-sm-3 control-label" >描述:</label>
                    		<div class="col-sm-6">
                    			<textarea class="form-control" name="descs">{$model.descs}</textarea>
                    		</div>
                   		  </div>
                   		  <input type="hidden" name="id" id="id" value="{$model.id}" />
                	</div>
                </form>
            </div>
            <div class="panel-footer">
                <div class="row">
                    <div class="col-sm-6 col-sm-offset-3">
                        <div class="btn-toolbar">
                            <button class="btn-primary btn" id="form-submit">提交</button>
                            <button class="btn-default btn" data-dismiss="modal">关闭</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type='text/javascript' src='{$Think.GYM_VIEW_JS}gym_course/edit.js'></script>